package com.vic.mvc.prepare.design.chain;
/**
 * Chain of Responsibility
 * @author VIC
 *
 */
public abstract class Handler {

	protected Handler handler;
	
	
	/**
	 *  做一些事情 比如请假
	 * @param day
	 * @return
	 */
	public abstract boolean doSome(int day);

	public Handler getHandler() {
		return handler;
	}

	public void setHandler(Handler handler) {
		this.handler = handler;
	}
	
	
	
}
